home *** CD-ROM | disk | FTP | other *** search
- Path: www.cybercity.dk!usenet
- From: ccc6004@vip.cybercity.dk (Hans Henrik Happe)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: doubling pixels horizontally
- Date: 27 Feb 1996 01:18:11 GMT
- Organization: CyberCity of Denmark
- Message-ID: <2788.6631T140T744@vip.cybercity.dk>
- References: <3764.6622T781T478@ifi.uio.no>
- NNTP-Posting-Host: 194.16.56.103
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
-
-
- Ludvig Pedersen ( ludvigp@ifi.uio.no ) wrote:
-
- > How fast are your CPU-passes anyway?
-
- My blitterscreen in it's current state don't use CPU passes. Well it makes a scrabled
- buffer and write it to chipmem. I have only used it for a rot&zoom&persp
- rutine, so I didn't need to make a chunky buffer (Linear rendering => scrabling for free)
-
- In my early days of c2p rutines I made a CPU only rutine that could convert a
- 8bit 320x256 scrabled buffer in 1 frame on a standard A4000/040 with datacache :)
- It's OK for linear rendering but it would not be good to buffer it because it use the
- fact that a long read from fastmem takes just as long as a byte read. I used a long
- for each 8bit pixel ( 8 bits layed out this way: ___0___1___2___3___4___5___6___7).
- Or & shifting 4 pixels together gives a long consisting of four pixels with a - for a c2p
- coder - nice layout :) Ohh those were the days 8)
-
- >>Yeah... I'm also trying to make everything as systemfriendly as posible.
- >>I have tryed out system copperlists and I will make intuition screen version
- >>of the blitterscreen (this will ofcause only work on AGA screens).
-
- > How are you going to handle 64 pixels width sprites?
-
- Hmm.. I have not looked in to this yet, but I hope the systems sprite support will
- this. Correct me if I'm wrong. If that's so I can only say: "Why have those sprites if
- you can't use then with the system". Hardware banging pehaps. That didn't seam to be a Commodore
- habbit.
-
- > What about double pixel height?
-
- I think there is a monitor mode for that. Take a look at the graphics tool "Brilliance". There
- is a PAL: 320 x 128 in the screen req. And it would seem resonable, because it is
- posible to make blp1mod the modulus for all bit planes on even H. lines and bpl2mod for odd
- H. lines.
-
- > What about multisync?
-
- You could have User copperlist doing it for you here.
-
- > Intuition screens are often promoted to another screenmodes.
-
- > Have you thought about that the modulo registers work different in
- > scandoubling modes like DBLPAL, DBLNTSC?
-
- hmm... those DBL... modes I believe use the same modulus setup as the PAL: 320x128, but
- at a higher scan rate. Meaning bpl2mod is the only mod. reg. you have change in your
- usercopperlist.
-
- The bitplane scrooling part in blitterscreen can be done by using a dual playfield
- screen and use VideoControl to turn off the actual dualing. This gives you a way of
- scrooling even and odd bitplanes independently.
-
- > There is a lot of things to think about! :(
-
- There sure is and maybee the best way would be to figur out a fast pixel doubler.
-
- > But it is possible more or less system-friendly. I'm finished a version
- > without sprite dithering a copple of days ago.
-
- Is it fast?
-
- Hans Henrik Happe
- Goat / Sumpen
-
- You can kill the human race, but you can't kill the AMIGA.
-
-